Test for LED headlight: Intelligent lighting for energy efficiency and safety