Dollar eases ahead of Yellen testimony