refactor + unit test for Hand Evaluator