add karma test script