test MX/DMatrix/SX, and use [[0,1,2..],[3,4,5..]..] instead of ones
test {MX, DMatrix, SX}