groupByStreamOp with persistent state, but illegal sharing error msg. Separated tests.