added factorygirl factories for rspec tests. changed the schedule method to call schedule_spread or schedule_condensed depending on the user preference