Updated importDictionary to always print validation errors and added test