resty.core.shdict: check if the type of zone is "userdata". also updated the corresponding tests to use the "natural OO notation".