Improved test output under failures to help with understanding tests
Use platform specific path in error message
Work around non-RFC4180 compliant issues as much as possible