Add some tests on the matrix_model class