A U.S. history and government exam for New York high school students has been canceled in the wake of the racist shooting at a Buffalo supermarket over concerns that material on the test could "compound student trauma," education officials said Tuesday.