Test bench for slewing bearings