DAC output test code added and complete bug #7728