added npm test script to run karma