Arity tests, err_regex and RQL_TEST