added DBTest.cpp with a main(), rewrote rename()