First tests and added feature to sort the hand