[ticket/12561] Reworked tests by nickvergessen

PHPBB3-12561