Fix duplicated test cases by reloading `isEqual:` and `hash` methods of NSInvocation.