[ticket/12812] Improve migrator config_text tool tests

PHPBB3-12812