Added test to check for headers in capture.