FixDBUsageForTests