(moving comment from commit to pull request)

This test would fail if these hints were not sorted numerically, but it's not really clear looking at the code what it's testing. Change the last check to be:

```
    hintProvider.insertHint(hints[23]);
    expect(testEditorAndDoc.editor.document.getRange({line: 50, ch: 12}, {line: 50, ch: 17})).toEqual("&#123;");
```

And you don't really need the middle two.