public void TestCanLimit()
{
ICursor c = db["tests"]["reads"].FindAll().Limit(5);
Assert.IsNotNull(c,"Cursor shouldn't be null");
int reads = 0;
foreach(Document doc in c.Documents){
reads++;
}
Assert.IsTrue(reads > 0, "No documents were returned.");
Assert.AreEqual(5, reads);
}