[ticket/11768] Added test for PHPBB3-8420

PHPBB3-11768