Stephanie Layser, a former executive from News Corp, provided testimony about the company's struggles with Google advertising tools.