Two in court after e-hailing driver killed by thrown brick