Add test coverage to `add_users_to_cohorts` view