Slightly more interesting test of partial ternary application.