test for wrong db error