[ticket/12692] Add unit test

PHPBB3-12692