Fix word_regex test