add tests for paginating_decorator