preservation of case in nodeNames, adding id property to first instance node,  fix tests
rebuilt