moved pagination test from view to integration test