Refactor GameReportsToNumGoalsPerPeriodFunctionImplTest.java.