fix failures in tests
Merge pull request #161 from a14n/patch-1

Fix bad type annotation in generated_code_test