Added test cases for controllers.
Controllertests.
Merge branch 'test_cases' into develop