Tests like x-rays, magnetic resonance imaging (MRI) and/or computed tomography (CT) scans can help to diagnose the condition and check for the presence of spondylosis or bone spurs, nerve damage or other changes.