Mock for http response for testing