Added several tests for buffering sequences.