Fix typing checking for and_do_block when the stubbed method has a block argument