integration test for STUDY.