test of class pagination