fix a failing editor test

Fixes #899 - one of our tests was driving the editor manager in a way it wasn't expecting. Also, cleanup up some unused imports which a new version of the analyzer found.

@ussuri