Properly closed paginator tags in tests

Issue #7