added tests for endless_pages