`Type::DEFAULT_EMPTY` is only one of the valid values for defaultType, is it not ? Shouldn't you test all valid values, at least the known ones ?