Add test coverage for customized EXIT_CODE handling
In gitlab_templates#3572371 (closed) a new feature has been added to allow projects to react to and/or override the default $EXIT_CODE produced by the phpunit tests.
We can add this feature to one of the downstream branches, to prove that it works and provide ongoing test coverage.