Make tests verify contents of tuple output.

Also, verify that multiple emits work.