fix definition test case
factory cleanup