Added test for return node emitting.