[ticket/11224] Adds a test case

PHPBB3-11224