added tests for module, updated package.json