VOCABULARY: getVocabulary and getVocabularyByName methods and tests