better test for round-trip binary file