Fixing unit tests that have different output for different platforms.