(ClassGenTest.test_generate_singletons): Fix calls to generate_singletons because the signature changed.