Added tests for takeUntil