Added child node tests

Added tests for child node creation.

Also fixed the Node constructor to initialize the children ArrayList.