fixed testValidityOfHand