Database connectivity test