More editor tests

It looks like creating two new windows back to back causes the tests to hang. That test (`TestSetActiveWindow`) earlies out for now.