CA-148436: Fix xencert metadata tests for ISCSI SR

Fixed issues with the following metadata tests:
* SR ATTACH
* SR SCAN
* SR PROBE

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>