TestApplication: handle startActivityForResult