Added db connectivity test.