Add test for virsh autostart

Signed-off-by: Yanbing Du <ydu@redhat.com>
Update judgement about 'autostart_vm' as it's a boolean value

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