enter code into the codemirror and evaluate it, check the result