implemented subnode unit tests