Bugfix for getContentChange Test

Waits now until the event is returned, or a timout is reached