fixed #1860: onNodeLoaded will be called twice if ccb was added as a CCBFile and adding test.