prepared package.json an karma.conf.js to run with 'npm test'