test for wrong db connection details