add a test for list