pagination with offset & limit combined with filter
tests for pagination with filters