tests: fix VM integration tests for libvirt 1.2.2
tests: improve menu junit tests