why hardness test is important in material characteristic