Add unit test to validate the order of the MAtchType enumeration is kept.
Add Trans memory merge tests.