Add a test of the cleanup.