Junit test for class NgramModel