implemented tests for wordlist class