Fixed Core tests to work on *nix