adapted 2 tests to run on linux