send_to_queue() mock should use return_value instead of side_effect