fix: toJSON methods of node and digit
add: tests for toJSON
add: more tests, improving coverage to 90 %
fix: add splitTree method to delayed tree
add: bump version