[ticket/12508] Fix some more tests

PHPBB3-12508