created unitTest for PLN PatternMatcher