Added a test for looking in parsed_response for headers (#299).