Unit tests pass

The issue was that the buffers were non-overlapping @agramfort @dengemann.