test truncatewords