adding unit test for ClassNLLCriterion