wip: client test suite: fix bug for exceptions on error status codes