Fixed tests which didn't require a TextEditor.

Only remaining ones are ViTests and SyntaxHighlightingTests.