clean ups for the test argument