Attempt to fix test for travis osx.