Better test/unit autorunner clobbering.

Thanks to @kou for this suggestion in #404