Digital and analogue hardness testers