Use one HTTP test function for all tests