True, if we can rely on test() being called before visitReactDisplayName(), we can remove that first condition!