Unit tests for BuiltInCriterionProvider and Recurrence.