Create common node_interface
Fix node_interface, add test