Matching

Hi Zaixing,

Here are the improvements to slice-test matching.

Ted