Fix a couple test warnings