better error output for POST test failures