fix tests for unix