Revert "Move find_app_id call to deploy_app for better error handling"

This reverts commit d2748d6c019f119889834486a153a7a5dd4062fb.
add app_id assertion and add more spec