bugfix to generate-names.pl tests