Test for warnings and the lack of them