almost got an e2e test working - just need to figure out how to properly enter into a codemirror text area so that angularjs notices the UI updates...