CP-23101: Add tests for the metadata transfer functions: changes following code review
CP-23101: Add tests for the metadata transfer functions: changes following code review

Signed-off-by: Mihaela Stoica <be95049f8e30d921fc7e2579c00c48bd84c40606@citrix.com>

stephen-turner/xenadmin,minli1/xenadmin,MihaelaStoica/xenadmin,xenserver/xenadmin,kc284/xenadmin,minli1/xenadmin,MihaelaStoica/xenadmin,kc284/xenadmin,kc284/xenadmin,jijiang/xenadmin,minli1/xenadmin,kc284/xenadmin,xenserver/xenadmin,minli1/xenadmin,MihaelaStoica/xenadmin,jijiang/xenadmin,MihaelaStoica/xenadmin,stephen-turner/xenadmin,MihaelaStoica/xenadmin,jijiang/xenadmin,minli1/xenadmin,kc284/xenadmin,MihaelaStoica/xenadmin,jijiang/xenadmin,stephen-turner/xenadmin,stephen-turner/xenadmin,stephen-turner/xenadmin,stephen-turner/xenadmin,minli1/xenadmin,jijiang/xenadmin,xenserver/xenadmin,jijiang/xenadmin