Adding codemirror and test code for it