client-test: add various errors test