4 integration tests for Document

Unfortunately i do not seem to manage to integrate 2 services together.
I always get the
entry (don't flush the Session after an exception occurs)
error