client: test legal characters and max words count