support omitting nodeId
fix tests for 0.3.0 changes
0.3.1