add the automatic way to generate test matrix
Merge pull request #116 from kshileev/test-matrix

add the automatic way to generate test matrix