Teacher accused of feeding dog to turtle is going to trial