Fix for test warnings.