Refactored queue_item_controller tests. Added macros and shared examples