new tests with Mat sctruture, a lot faster!