added mdb.c tests