Pagination replacement

I added tests that checks the navigation of pagination. I also checked to make sure the formatting was consistant.
Could you indent these lines?