a test for codeMirror