unit tests up to process match clause pass