added unit test for versionservice