reducing test complexity