A physician who performed a brain examination on Gabriel Fernandez, a Palmdale boy who prosecutors said was murdered by his mother and her boyfriend, testified in court Thursday.