fix test db setting