Mercedes driver Andrea Kimi Antonelli, who will replace seven-time F1 world champion Lewis Hamilton, has passed his driving test ahead of his debut at the pinnacle of motorsport.