More tests for _do_housekeeping().