matrix_version() with test