Runtime-detection: runtime detection tests were changed

Runtime detection tests were changed:
- check if the added runtime was created as runtime
- test if the runtime dialog works properly (e.g. remove button works)
- assert that provided path really exists

Operate tests were also changed to first check if the runtime is present before
tests starts.