Fixed test using wrong db.