WebMD explains the tests used to diagnose type 2 diabetes — and the tests you should have if you’ve been diagnosed with diabetes.