Add test for the returned type when parsing a RESP error.