Added more db tests