public void TestDropIndex()
{
CollectionMetaData cmd = db["tests"]["indextests"].MetaData;
cmd.CreateIndex("firstnames", new Document().Append("fname", IndexOrder.Ascending), false);
Dictionary<string, Document> indexes = cmd.Indexes;
Assert.IsNotNull(indexes["firstnames"]);
cmd.DropIndex("firstnames");
Assert.IsFalse(cmd.Indexes.ContainsKey("firstnames"));
}