[streaming] Added MockCoInvokable, replaced environments with it in CoFunction tests