Tests for paginator