added tests for producer

added tests for producer and corrected for gulp errors