adding db tests