How to marble test RxJS Subjects

How to bridge the gap between the timing of function calls and Observables