Add tests for VirDomain.AttachDevice, AttachDeviceFlags