Fixed incorrect test.
Added ability to compare SemVers.