NSRange: test use more specific name
NSRange: test use more specific name

And use more robust implementation

apple/swift-corelibs-foundation,parkera/swift-corelibs-foundation,parkera/swift-corelibs-foundation,parkera/swift-corelibs-foundation,e78l/swift-corelibs-foundation,e78l/swift-corelibs-foundation,apple/swift-corelibs-foundation,e78l/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,apple/swift-corelibs-foundation,parkera/swift-corelibs-foundation,e78l/swift-corelibs-foundation,parkera/swift-corelibs-foundation,e78l/swift-corelibs-foundation