Fixing infinite loop bug
Updated pager tests
Adding code coverage, and adding specs for basemodel
Merge pull request #11 from webdestroya/infinite-loops-for-days

Fixing infinite loop bug