Test cases for utils.normalizeTypes.