Added basic test case and code for Study plan
merge