Fixed failing swizzle-dealloc.js unit test.