copy paste removed by parametrizing tests