minor fix
Updated package.json
Fixed test issues and added semver dependency for dev