CLOUD-271 Added integration tests