added test to check name conflicts in generated code
added test to check name conflicts in generated code