added HandTest class and changed Hand class