cleanup up test code snippets.