updated API tests for recent changes, added pagination to API
Merge pull request #230 from kaitlin/master

updated API tests for recent changes, added pagination to API