Add ScheduledSet and test case for it.

Add a ScheduledSet to get future-scheduled task functionality.