Hardness testing of ceramic materials