tests: add tests of function string_is_word_char