Mechanics of fretting fatigue tests