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

PHPBB3-13146