adds rest tests for producers
Adds persistence tests