Unit tests for helpers.compareVersions