Test: make field `id` is defined in mapping, so sort can't fail