Add unit tests for Paginator service.