test of database connections