Table drive takeWhile and takeUntil tests