Added req and res to mock options.