[Test] Add dealloc-swizzling test using Objective-C code.