test karma in npm test