Refactor the sidekiq integration not to require the gem

* Extended and refactored some specs