Fixes the Open Line tests when the indentation is set as tabs in the main window

I was running the test when I saw some fails in the Open Line tests. After some investigation I found out that it was because I had Tabs set as my indentation. So I fixed the tests so that they pass when Spaces or Tabs are set in the main editor.