Merge "Waiting for app install to finish before procedding with the test" into tm-qpr-dev