OO-2866: check if the test is ended before resuming and some small chaanges to handle the case without NPE
OO-2858: unescape solution of gap text from the tinymce mce plugin because they are send to it escaped
OO-2846: don't persist in memory marks, correctly set the anonym flag, don't toggle back the first mark