test that ended state is exposed
expose ended state, ignore any further messages when ended
0.2.0