Yes, it is worth contesting. If you can show up in court with paperwork showing that it is now registered to you and the date it was changed from dealership registration to your registration, you can show that this was not your fault but was due to the dealership dropping the ball on their responsibilities. While that does not guaranty that the ticket will be dropped, it makes it very likely that it will be.