Add (failing) test for initial active tab/codemirror state.
Fix initial active tab/code pane state.