Fix to respect @collection :root for xml output
Fixing invalid test for xml :root
Merge pull request #426 from chinshr/master

Fixes inconsistency in @collection :root elements for XML output