Add unit tests to AverageWordCount.java. Refactor to allow unit tests using MRUnit