Fix SecurityGroups XML sample tests

Fixes bug 1157521

Change-Id: I38ad52e0720feea37e8dbda8ad9c29162842c8f1
Merge "Fix SecurityGroups XML sample tests"