Test intermediate code generation for binary operators.

This isn't comprehensive yet, but it tests all of the binary operator
nodes that actually have implementations so far.