applay pagination to test