Added initial code generator unit tests.