Fixes U4-2640 LocalizationService throws exception when getting dictionary items and adds tests for the LocalizationService