[ticket/12620] Add a test using a custom DI extension in an extension

PHPBB3-12620