Make unit test platform-independent