Added unit tests for sorting releases (covering semver)