hearing testimony requires to be in a court