[ticket/12444] Adding regression test

PHPBB3-12444