Some refactoring of the my_queue_spec.rb