Runtime-detection: Implemented tests covering downloading of runtimes

Tests covers downloading of runtimes through "Runtime Detection Preferences" dialog.