fix tests for linux