[node] added tests for node package