Testimony has ended in the hearing to determine if a Socastee High teen will be tried as an adult on charges he shot at an officer and brought pipe bombs to school.