db tests added