Fix typo in test error message
Add ability to paginate results