public void TestExists()
{
string dbdir = Path.Combine (tmpdir, "test.ldb");
DataBase db = new DataBase (dbdir);
ProjectDescriptionLongoMatch pd1 = new ProjectDescriptionLongoMatch ();
ProjectLongoMatch p1 = new ProjectLongoMatch {Description = pd1};
Assert.IsFalse (db.Exists (p1));
db.AddProject (p1);
Assert.IsTrue (db.Exists (p1));
}