Mock : improvement on mocking of superglobals and request body