virsh.domstate: Add cases for on_crash action testing

Signed-off-by: Yanbing Du <ydu@redhat.com>