fix test to work on non windows machines