Fixed tests on Linux