clean the test structure