Add test coverage for ajax.reset