test producer_consumer