`cork_uid_get()` doesn't exist.  Should this be `cork_uid  id = test_id;`?