test gen_wordlist