Adding test for extra_headers