Imported NameFix algorithm and added basic test