Resolves #164 case insensitive branch comparison with test and validation