added test cases for list and pagination