Add test for double patching instance methods (#11085)

2 files changed