test for paginated team list api