unittest cleanup