test for lists