Separates modify tree tests into separate files and adds some unit tests for addNode