spec: add spec for last-patten with magic option