Adding pagination spec tests.