Reduce test matrix