junit test for hitters and pitchers