test  the connect of  database