Removed deprecated methods from HTTP test case.