RepeatDate.to_s added and refactored tests