added option to test producer