WSOTWO-132: Added tests to ContentFormatter and EditorState.