Add MavenVersionResolutionServiceTest
Improving code