Fix NcNameResolver.fixNcName (don't remove first character if valid)

NcNameResolver.fixNcName was removing the first character of an NcName if it was valid. Fix and add test case.