add tests for onto, reduce, merge, take