Added new tests for p:http-request.
Tests p:http-request: Error needs to be raised if parameter has the wrong type.