Added a test to ensure that sequence local data were correctly updated
across a message sequence (still have not checked commit of data or
peered data).  Fixed many bugs along the way that the test found.