Added stuff to dbtest.c