reconfigured wordCounter tests