Teen suspected of hitting officer will undergo competency exam