Check out my post#23.
There is a driving test. The officer might notice if the applicant didn't understand commands. The written test is not easy. You are expected to know quite a bit. It's possible to get around almost anything, though, if someone doesn't play by the rules.