Bugfix integration test needs a document refresh to avoid exception