Ramp loading and estimation of scratch toughness estimation in materials