Added null check in ExternalTestingManagerImpl