Class A: hasRange Accept other types
Class A: missing UTs