Added XML validity test for legacy datastream profile response
Merged upstream changes