.done());
      });

      audit.define('one-zero', (task, should) => {
        // Create a simple 1-zero filter and compare with the expected output.
        let context = new OfflineAudioContext(1, testFrames, sampleRate);

        // Use a simple impulse as the source
        let buffer = context.createBuffer(1, 1, sampleRate);
        buffer.getChannelData(0)[0] = 1;
        let source = context.createBufferSource();
        source.buffer = buffer;

        // The filter is y(n) = 0.5*(x(n) + x(n-1)), a