fix cmp method for versions
addresses #228 and #225

revert changes in test
Merge pull request #230 from sashakruglov/fix_versions

fix for #225