codemirror widget test