tests for simple bigram parser