Fix broken unit tests
ActivateStream now takes a function.