Minor clean-up of tests.

Use POODR principles to check that the File object is doing what it's
responsible for, and not checking the values in the header's response.