Organize tests in MxN matrix