Add some tests for the matrix_model class