fixes to producer test script