cleanup work in tests