libvirt.tests: Migrate speed enhancements

@jferlan, @Hao-Liu, could you help me to verify these changes in latest libvirt version?