cleanup the test and pages