Update src/test/WordCounter.java

Updated the task summary. Added JavaDocs.