Unit tests on thesaurus arrays