tweaked db tests