[ticket/11444] Fixing the units tests

PHPBB3-11444