The Medical Foundations of Visual Systems Testing