test DB communication