added db to tests