Change have_enqueued_job to handle case when Sidekiq::Testing is disabled.