Simplified the API of the SparkTestUtil. Methods are HTTP methods.
Move the "protocol" argument for HTTP requests into the SparkTestUtil constructor.