Testing a connection is actually just creating a temporary connection and starting the monitoring.
The only difference is that the test connections tries to trigger all collections and reports a failure when anything above informative severity fails.