Added tests for producer process