Unittest cleanup.