Adds DSP testing and WAV writing to test_codec