Reportstate 11

Provisionally fixes #11
Opening PR with the expectation that there is probably a bit more stuff to do, but some comments would be appreciated.
This test is actually testing two separate things: multiple applications, and ports. You should separate it into two tests.