TST: Added tests for non-CSR/CSR format