Add more dictionary codegen tests.