Former DHS official arrives in court to testify