Update test_hand.py

Working version of test_hand.py

Untested version of test_hand.py with code refinement and more clear documentation will be named untested_test_hand.py