Node: add asserts