Added a JUnitTest for meleeAttack