Add test for NodeFormat