tests
logging for bad resp codes