Yes it definitely sounds like ocd. Probably you need to catch yourself before you get onto a roll doing compulsions. Like you think of going to the rest room to look in the mirror. Try to catch yourself in the act and tell yourself “no tests”. Tests are compulsions. You have to feel the anxiety but sit down and refuse to do a test.
All the best.