Added test for failed log http post case