Test data source connection

Tests the connection for a specific data source.