tests: Fix MockXenAPI to make the ovs-xapi-sync test case pass again.