Fixed problem with split tests,
added new function that sets the codemirror instance cursor coords