Fixed calling synchronous tasks from within automate worker process

Pass nil task_id to queue_options so it does not default from $_miq_worker_current_msg.
Changed test to valid created MiqQueue instance instead of params passed to MiqQueue.put.

https://bugzilla.redhat.com/show_bug.cgi?id=1106524