Pat Cummins named Australia Test captain