[ticket/11768] Added test for PHPBB3-3981

PHPBB3-11768
[ticket/11768] Added test for PHPBB3-10587

PHPBB3-11768
[ticket/11768] Added test for PHPBB3-10425

PHPBB3-11768