test: fix the unit test (mock Karma 0.12 deps)