In particular, test explicit error responses. No change to behaviour. Co-authored-by: wxiaoguang <[email protected]>