integration tests, cleanup