public static async Task Clear(this MongoCardStorage mongo)
        {
            foreach (var card in await mongo.GetAllCards())
            {
                await mongo.DeleteCard(card.Id);
            }

            foreach (var collection in await mongo.GetAllCollections())
            {
                await mongo.DeleteCollection(collection.Id);
            }
        }
        public async Task ReturnListOfCards()
        {
            var card1 = new Card("Solomon is a", "human", "0", Guid.NewGuid());
            var card2 = new Card("Programmer is", "human", "0", Guid.NewGuid());
            var card3 = new Card("Programmer is", "god", "0", Guid.NewGuid());

            await mongo.AddCard(card1);

            await mongo.AddCard(card2);

            await mongo.AddCard(card3);

            var allCards = await mongo.GetAllCards();

            Assert.That(allCards.Count(), Is.EqualTo(3));

            foreach (var card in allCards)
            {
                Assert.True(card.Id.Equals(card1.Id) || card.Id.Equals(card2.Id) || card.Id.Equals(card3.Id));
            }
        }