A perceptual maze test sensitive to brain damage