Test currying/composing functions