Removed loop from httptest.c