Added expand_partial_vocab test.