Material hardness testing