add karma unit tests to test task