test database connections on health check