Remove useless test cases
Misc clean-up
Add unit tests for PaginatedList (remove integ tests)
Fix doctests