Added tests for DaoProducer