Fixed bug with TEDS test

Fixed compiler warning in ProductionUnit