+ added addNode/clear method
+ added toggle event triggers
+ added unit test for event triggers