Stand-alone hardness tester