Making tests for pagination pas