clang: Fix segfault in unit tests.