Test that top is raised when two different node types are used in an operation.