Tests fixed with db.