unit test housekeeping