codeeditor tests: be more careful when polluting global namespace