Designing a driving test for driverless cars