db driver test fixes