put everything in a main function so we can actually test it
adding some sample libvirt domain XML files as test fixtures