    source.loopEnd = 2048 / context.sampleRate;
        source.buffer = buffer;
        source.connect(context.destination);
        source.start(0, 1024 / context.sampleRate, 2048 / context.sampleRate);
        // Expectations
        let expected = new Float32Array(4096);
        for (let i = 0; i < 2048; i++) {
          expected[i] = 1;
        }
        // Render it!
        context.startRendering()
            .then(function(audioBuffer) {
              should(
                  audioBuffer.getChannel