added comments and tests to Hand