Subjects and agents in public

Delivers https://www.pivotaltracker.com/story/show/49820741

Also includes a few fixes to tests. I don't know why these just started breaking - looks like they should have been breaking before.