Chiral operators in two-dimensional (0,2) theories and a test of triality