Adding support for scene events and node events to the test/example code.