Add unit test about orphanized methods.