Added CreateInMemoryDatabase