added a test on max pagination