Are you removing the header.out file at the end of the test? If not, it would be just a matter of adding `rm headers.out` to the TEARDOWN section in every test.