Server: more test coverage, improve uknown-TID error message