adding test for list