Working on unit tests for Criteria.matches API