Limited-overs specialist Glenn Maxwell has been shockingly included in the Australia Test squad for the two-match series against Sri Lanka.