Fixing mock xlclient