Cleaning the test controller