Refactor HTTP Requests test

Fix bug where response headers where not getting compared.

This also makes a change to the HTTP test template so that response is passed in the final callback.

All tests prior to this version did not properly do the header field comparison.