Ok, apparently you do not understand again or read at all what I just wrote - typing tests online don't work this way. Neither did the one I took in highschool. I would be hard pressed to find a single one that doesn't account for errors and is just a raw count of the keys pressed. What would that even look like?
Just randomly mash the keys as fast as possible, that's your WPM!
You know that WPM stands for Words per Minute? So of course it’s not about pressing keys but typing grammatically correct words.