get tests passing with new pagination