1 more test
shared base implementation for bufferWithTime and bufferWithCount