update readme
fix tests - extend editor functions, only if editor is set