Added more test cases for list