add tests for node