cleaning of test code