Add helper to start app and wait for it to run