Added test for resolveVersions