added pagination integration test