add tests for list