Store and use multiple outputs.
Add (really unimaginative) test for multi-table output.