fixed test for unix