Modern methods for investigating functional surfaces of advanced materials by mechanical contact testing