Added tests for test controller