A chip wont make it fail mot, a chip or crack that changes the beam pattern will as said, also if the chip has let water or moisture in and effected the reflective surface of the chrome will fail
If you headlight fills with water, empty it before you take it in, as it will fail if it looks like a goldfish bowl