added dbctest.cpp