Rewrite ACONS and PAIRLIS tests using dotted lists