Add test case for chained curries.
Exercise for range.js