I think moans helped me concentrate in school
How could it possible help?
I did so well in the tests despite being distracted.
It is wrong to be distracted in class and disturb the silence. Good thing you are able to concentrate even when there are distractions around you. There could be other reasons for doing well on the test.
You're right, I never thought of that and moans may not have been the only reason anyway.
I am glad that you are thinking of how it can affect others. Some people have a hard time concentrating and it is important to be able to in a classroom.