add test for a new interface
fix event_stream test
add basic counter state implementation to EventStream
test for batch option for counter state
implement batch option for counter states
refactor test and add cases with shift option
implement shift option for counter states
rename test
test for time state (incomplete)