add karma to npm test