Adding stricter assertions in Node, fixes #65