Make test_headers more automatic.