Removed platform-dependent stuff from tests (damn you, Windows)