Add tree init tests and degree specification
Add split child function