Add test cases for getList