fix create to use id; fix xen_test