add more specs on StreamProcessor