Fixed format_tests to check OS when testing DataDir()