[xtext][ui] Another attempt to fix the document modification test

This reverts "[xtext][ui] Fixed document test"
(commit 9702bdd066667344624824149642c4979e45f046)

Change-Id: I6cc5683fc014650a2d8ca18630d7421073e31f05