fixed #3185  ComponentTest and SceneTest NULL to nullptr.