Add basic testing for readmatrix, still a wIP