added yet another test to verify logging behavior when logging errors