add failing test for issue 5
fix for issue 5, state was shared across subscriptions