fix test to not rely on unix