A modular, headset for performing ophthalmic tests on a patient comprises a removable optical module that can be replaced based on ophthalmic testing need. A miniaturized fundus camera is provided and can be movably mounted within the headset, including to the optical module. The fundus camera position can be automatically adjusted to align the camera with a headset wearer's eye. Software controls image capture and captured images are combined assembled and combined to provide a wide field retinal image. The optical module can have replaceable sub-components allowing configuration for different ophthalmic tests, such as visual field testing and optical coherence tomography.