[ticket/12775] Add tests for the container factory

PHPBB3-12775
[ticket/12775] Add tests for \phpbb\config_php

PHPBB3-12775