Fix tests when running on linux