add tests of List class