[ticket/13147] Adding required tests modifications for the new constructor

PHPBB3-13147