fix tests on linux