Fix space issues in setDisplaySettingsDescription

and adjust respective test cases