Issue #1105: Fix another error in unit tests that only shows up in the final build.