Added rspec test for experiment, fixed rspec test for cohort