add testing for schduled api

https://github.com/mperham/sidekiq/issues/1003