virt-libvirt: attach/detach device test

Signed-off-by: Chris Evich <cevich@redhat.com>