I\'m doing Espresso testing and in the middle of a test I need to close the application (to test how it behaves when closed and receives a message). I open the activity at the s