In test search marketplace and install app only uninstall the app if it has definitely been installed.
Move search_marketplace variables into class scope
Merge pull request #287 from zacc/skip_teardown_mk_install_test

In test search marketplace and install app only uninstall the app if it ...