fixed wrong sort order syntax in Matcher
updated function call in Matcher
first tests and factories setup