A law taking effect July 1 will raise the age at which older drivers must take a driving test to renew their license.