Further refactor typing tests, fix JS backspace issue

 - Kills 120 lines of code before new tests
 - Deleting the opening quote will now dismiss IntelliSense

We need similar tests for JSDoc completions.