Add more tests for function node.