Make with-test-unit not crash.

Verified on system-test-suite.