Adding a test for the matrix_model class