[ticket/13008] Add functionnal test

PHPBB3-13008