testclient: some fixes / more verbose error msg