added test for consolecontroller