TextEditorTest restores default source code of tested java file after each test. Fixes #853