An electrocochleography (ECog) test is done to measure the electrical activity in the inner ear. An auditory brainstem response (ABR) test checks the function of the hearing nerves and the hearing center in the brain. These tests can tell your doctor if the problem is caused by your inner ear or with your ear nerve.