Data-driven stabilizations of goodness-of-fit tests Working Paper (2021) Fernández-de-Marcos Alberto and García-Portugués Eduardo