This test verifies that Agents are woken up on triggers for:
The general structure of the test is a session shell is created, which in turn creates a story and adds the test module to it.
The test module then verifies (1) and (2) by interacting with the test agent. It also creates a message queue that it does not delete explicitly and hands the token to the session shell.
Once (1) and (2) have been verified, the session shell deletes the story and waits for the token it was handed by the module to appear in the test store. This signals that the agent was woken by the deletion trigger for that queue.