add a test for Doc.getLine

Add a test for `Doc.getLine` (~related to PR https://github.com/google/codemirror.dart/pull/10).