Update permalink tests with the new pagenum feature.