Teacher arrested for having heroin in school