libvirt.tests: Adjustments for MigrationTest and StressTest class.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #86 from yumingfei/migration_fix

libvirt.tests: Adjustments for MigrationTest and StressTest class.