updated test specs for matrix.transpose