Add integration test for config vars in headers

Make sure that user-provided configuration variables reach ATF test
programs when running in list mode by adding an integration test.