Data driven testing

Add DDT support to test_http, to reduce duplication