Merge branch 'hotfix/#6021-di-abstract-factory-invalid-variable-name'

Close #6021
Fix for #6012 - Use wrapper for substr() in ProgressBar
#6012 - Add multibyte testing for long and short strings. Move Stub to ConsoleStub as it was conflicting with the ProgressBar\Stub class
Fixed `@group` annotations for tests for #6012
Merge branch 'hotfix/#6012-progressbar-multibyte-support' into develop

Close #6012
Forward Port #6012