Ensure test objects are cleaned up.