updated package.json
added tests