added mocked test for slice_pages template tag.