test: fix a teardown
Add tests for cleanup
Add a test