This is a test for github issue#800. This should work on all platforms, but Windows seems weird. The issue seems to be with Windows comparing gold files with CR-LF weirdly, so make all the tests internal.