test framework cleanup