defined version in package.json
added tests