Create code generator unit test framework with three example tests.
Respond to reviewer comments.

Change-Id: Ie30814371cff1a7b726def03efbbfcfb9e6e720d