implement macros and shared_examples for queue_item_controller_spec