Add test for failing on incorrect response and ability to turn of logging of errors to console.