clean the testing codes