Updated db tests