Add test for IsEditor
Use IsEditor test
Remove unnecessary interface test