"unexpected token ;" syntax error while running tests on non-global controller

I assume you could have left it on purpose as you wrote "Yay! The test passed! Or not...". Nevertheless, Karma unit test throws "SynthaxError: Unexpected token ;" without having inject method close bracket at it's place. Best regards!