Add test cases for list