When you take a road test for a driver license:

You must be accompanied to the testing station by a licensed driver and provide a vehicle in safe operating condition with a current safety inspection certificate and no-fault insurance card. All vehicle safety defects must be corrected prior to taking the test.
DMV Writen Test