Fix unit test warnings.