Changed to use EmbeddedDocumentStore in IntegrationTest