Tests and fixes to bugs that the tests found.
Tests and fixes to bugs that the tests found.

tbetbetbe/upb,tempbottle/upb,tempbottle/upb,tbetbetbe/upb,bsn069/upb,tbetbetbe/upb,bsn069/upb,tempbottle/upb,tempbottle/upb,tbetbetbe/upb,tempbottle/upb,bsn069/upb,bsn069/upb,bsn069/upb,tbetbetbe/upb