DATAMONGO-586 - Some refactorings in the integration test.