Added DAC test code.