Made runtests.py use 'set_installed_apps' API

This will also trigger the ready method of any tested application,
which was not run before.