split out sep_word and added unit test