fix wordcount plugin tests