Added test for namespace optimizer
Merge remote-tracking branch 'origin/master'
Improving namespace optimizer, extract method canAddNamespaceAttribute(),to check if the namespace can be defined on a node