Added tests for BaseNode