added test for lists