test: realign test with npm semver behaviour