[ticket/11405] Add a base class to avoid duplicated setUp() code

PHPBB3-11405