added tests for get controller