The law ties the right to drive to the license itself, not to the test. The right arises at the moment you receive your driver's license or are issued its digital version. The test is only a condition for issuing the license; until you have it in hand or in digital form, you do not yet have the right to drive