WordCount and tests