[IMP] prepare-test: return a non-zero error code in case of failure with uiautomator