initial work towards httptest