Write test for #word_array