Added support for PATCH method + refactor SparkTestUtil to use Apache HttpClient to support PATCH