Running resampling tests from CLI