Fix #169 Pass the correct context when removing currentEditor
Added test for Fix #169
Merge pull request #169 from gbedardsice/master

Pass the right context to the currentEditor.remove