Added test for IsActiveEditor