add test for studyController