unit tests: do some cleanup after tests