add tests and detection of resque-scheduler for