updated test to work on mac