Add ip to createRequest mock in test helper