design of tests for commonDB.tcl