tests pages loop categories