Attorney General Barr testifies