Add test for IsEditor
Use IsEditor test
Remove unnecessary interface test
Merge pull request #235 from ArloL/iseditor-test

Test for IsEditor