Introduce regression tests for various qemu failures.