Added a test for  3 producers and 1 consumer