Added package.json file
Fix karma unit tests