ActiveResource::HttpMock extenstion for testing