Added node events (ready, unready, resize, render) with unit test