Add an espresso test and support for running it in IntelliJ; does not work on the command line