Adds a test to be sure that {{{pagenum}}} is replaced by a roman number if needed

bug: 51106
Change-Id: I5d0619a6dd625d0be4bbd6e648fa117263dd3d92