Summary: This is quite hacky, but allows us to test that a plugin connects, sends some actions and then shuts down the app which we can use in a headless test. Reviewed By: jknoxville Differential Revision: D14482381 fbshipit-source-id: deafa8fa7e6d5a5ca1bb006e9d150b62295105af