refactor test
more node types in c backend, and handle c externs like stdout