Add input test cases for basic matrix manipulations (dense matrix both in the
array format and in the block format)