Altered the way pagination is calculated in SearchVocabularyCommand.
Completed implementing unit tests for SearchVocabularyCommand.