Jeff Smith : windowscodecs/tests: Move compare_metadata function so it can be used earlier.