Rename GenerationLimit to GenerationLimitCondition. Add test for this class.