Fixing the MockHttpRequest helper