Refactoring of ScaladocAutoEditStrategyTest

The previous test class was difficult to work with because input
and expected output must be handled manually. The new test class
can compare input and output directly and is also able to check
the correct cursor position.