Add more tests for function node.
Merge pull request #309 from hindessm/more-function-node-tests

Add more tests for function node.