Test-specific database connection