Cleanup of test functions.