Test with default language v2

Added possibility to change the system default language for test execution. Second commit fixes the codeQuality test that only succeeds under English language. Rebased to current master