osx support for tests