Fixed npm karma test script