libvirt.test: Fix a bug for attach-device

In old libvirt version, '--config' and '--persistent'
cannot be used together. and we'd better test them
separately.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>