dot-compare_version function

Function to compare package version for mocking