METAREST-2 CriteriaFactory unit test