Tests are bullshit regurgitation devices. You cram information into your brain to spit out the "correct" answer like some kind of obedient lab animal. Too much emphasized is placed on being right, instead of understanding the fundamental reason why the mistake was made in the first place.
Material the was studied and "obtained" is forgotten soon afterward, because the next tests lurks around the corner.
While in theory they should be accurately "testing" your skill set and ability of conceptualizing an idea, however most of the time they do anything but that. They are stressful, time consuming and tedious. All of this to receive a tangible "grade" that you can either boast about or resent.
You are never "allowed" to talk to your peers.
In what facet of life/work do you not talk to anyone?
Don't talk to anyone! Not your boss, client, colleges, subordinates etc. because it actually might help you.
Tests could be used effectively to help gauge one's understanding of the subject, however, for the most part they have been distorted into some sort of impending doom. Like a hammer that looms above your head, waiting for you to fail, to bonk you on the head to wake you the f*** up.
They are the professor's ace in the hole so tread lightly because your playing on their terms.