* Better detection of installed APK
* Dump adb logcat on test failure.