Pendulum hardness tester