got test db working