fix up tests to work
adds editor config
fixes failing test, normalizes return values