db tests nearly passing.  now statement tests are broken.