Tested CriterionFactory
Tested SortClauseBuilder
Tested BooleanCriterionFactoryWorker

Also refactored FactoryWorker tests.