Added tests for queue_item model and index controller action