Looks like drop in LED headlight bulbs instead of halogen ones are now considered an MOT failure...
www.gov.uk

4. Lamps, reflectors and electrical equipment - MOT inspection manual: motorcycles - Guidance - GOV.UK
Inspection processes and rules for motorcycle, scooter, moped and motorcycle combination (class 1 and 2 vehicle) MOT tests.