Fix unit test error (not seen on MacOSX, but seen on Linux).