[ticket/11444] Unit tests

PHPBB3-11444