Tests for sequences
Added batched sink