Fixed test_getDbNameOrGenerate_invalid_name