added tests for Matcher