add unit test for editorconfig