Accused cop killer goes to trial