blood sugar regulation test