Fix simple_test()
Provide more helper functions in qemu_ubuntu_test.py