Added some test cases for list