Fix mocking methods that return byref in strict mode