Reduce inputs from tests