Add version spec tests for mac and *nix platforms