Add unit test for derive-column
Rename apply-rows to pass-rows, so we can use apply-rows for a function
that's orthogonal to apply-columns.