Added tests for TestGenMatColIndRange