Good example: https://github.com/uxebu/bonsai/blob/master/test/display_object-spec.js#L233