codemirror UI tests

Basic tests for codemirror UI. All this tests is opening and closing UIs. It doesn't test for whether these UI components work.