Tests for RecurrenceGrouper and fixes to Recurrence.