Eye test helps diagnose neurological disorders