[ticket/13297] Add tests

PHPBB3-13297