New test to reproduce Exception if a class has 2 different properties with the same name.
Fix to PropertyDictionary to prevent the exception happening.