More tests

* Test with infinite inputs (using take() on the output)
* Test whether GC can find and eliminate cycles.
1 file changed