Former Royal Oak teacher will go to trial on charge of indecent exposure