[TextEditor] Tests no longer crash Mono.exe.

Fixed all tests except for tests which create TextEditors. Style loading doesn't work for UnitTests, and errors are thrown before evaluating the test.

In short: ViTests and SyntaxHighlightingTests are not working yet.