When I was 17, i drove without a license, and i hit another car, i went to court, he gave me a 6 month penalty, but back then I Wasn't even able to get my license anyway, just plead guilty, act nice, apologize, and explain that you're really sorry and tell the judge about your test and tell him it will never happen again.