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