Kidney function tests check how well your kidneys are working. Healthy kidneys assist with removing waste from your body. Conditions such as diabetes or high blood pressure can affect your kidney function. You may also need a kidney function test to diagnose or rule out an infection.