fixed test to work for unix