test DB credentials