Added unit tests for PerformHttpOperation
Fixed bug that prevented using a global HttpRequestMessage.