you need to pass exams to become a dentist