hearing testimony requires being in court