Fix test warnings.