add pattern constructor test to pattern-match-test.egi