Add server interface error unittest