In graduate school I did research using microwave systems and, being cautious, refused to buy / use a microwave oven at first precisely for this reason - how do you now if the oven has a problem? The truth is, at levels of microwave leakage that MIGHT be hazardous - and the human retina, being the most sensitive exposed tissue, is the most vulnerable to damage from small leaks - you can NOT detect it yourself! Any leak large enough for you to FEEL with your hand as heat would be HUGE compared to safe exposure levels.
I HAVE been using microwave ovens for years in our home, though. There are three things you can and should do to be confident of safe performance.
1. Keep it clean - especially around the door - so that the door does close smoothly and properly.
2. For exactly the same reason, if you have physical damage to the unit that interferes with door fit, get it fixed!
3. If you REALLY want to test and verify proper performance, get a service shop with the right equipment and know-how to test it. The fact that you almost cannot find a home test instrument any more in stores is an indicator that this is an uncommon concern these days.