It is a test of mastery/competency, and you have done well. It’s not designed to rank applicants. Most of the students who take math 2 are demonstrating that they are very good at math (as you have learned.) And most know the material on which they will be tested.
Yes, they matter if you are applying to a school that requests them and even possibly to one that doesn’t. They will allow the AO to note that you look like you have the core competencies to do
pursue math and science. These tests are not used to pick the class. They should not be how you try to distinguish yourself.