Fix list matching for nodes that take in lists.
Add tests for the node core.