Fix tests on version check when passed in a partial semantic version